<!doctype html>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div style="width: 100%; height: 100%;">
    <table id="xboxLogDesc" align="center"  border="0" width="100%" style="font-size: 12px;">
        <tr>
            <td width="25%" align="right" height="25">请求标识：</td>
            <td align="left">${requestScope.xboxLog.id}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">应用KEY：</td>
            <td align="left">${requestScope.xboxLog.appKey}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">服务方法：</td>
            <td align="left">${requestScope.xboxLog.method}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">服务标题：</td>
            <td align="left">${requestScope.title}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">服务备注：</td>
            <td align="left">${requestScope.remark}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">服务版本：</td>
            <td align="left">${requestScope.xboxLog.version}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">语言方式：</td>
            <td align="left">${requestScope.xboxLog.locale}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">调用方式：</td>
            <td align="left">${requestScope.xboxLog.executionType}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">请求方式：</td>
            <td align="left">${requestScope.xboxLog.httpAction}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">数据格式：</td>
            <td align="left">${requestScope.xboxLog.format}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">sign签名：</td>
            <td align="left">${requestScope.xboxLog.sign}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">会话标识：</td>
            <td align="left">${requestScope.xboxLog.sessionId}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">用户编号：</td>
            <td align="left">${requestScope.xboxLog.sessionUserId}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">会话用户：</td>
            <td align="left">${requestScope.xboxLog.sessionUserName}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">手机号码：</td>
            <td align="left">${requestScope.xboxLog.sessionPhone}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">业务参数：</td>
            <td align="left">
                <c:if test="${requestScope.xboxLog.format == 'xml'}">
                    ${requestScope.xboxLog.bindObject}
                </c:if>
                <c:if test="${requestScope.xboxLog.format == 'json'}">
                    ${requestScope.xboxLog.bindObject}
                </c:if></td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">响应代码：</td>
            <td align="left">${requestScope.xboxLog.serviceCode }</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">响应消息：</td>
            <td align="left">${requestScope.xboxLog.serviceMessage }</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">调用结果：</td>
            <td align="left">${requestScope.xboxLog.executeStatus == 1 ? '<span style="color: green; font-weight: bold">成功</span>' : '<span style="color: red; font-weight: bold">失败</span>'}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">执行结果：</td>
            <td align="left">${requestScope.xboxLog.serviceCode == 'PC_200' ? '<span style="color: green; font-weight: bold">成功</span>' : '<span style="color: red; font-weight: bold">失败</span>'}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">应用类型：</td>
            <td align="left">${requestScope.xboxLog.callType}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">应用版本：</td>
            <td align="left">
                <c:if test="${null != requestScope.xboxLog.callVersion}">
                    ${requestScope.xboxLog.callVersion}
                </c:if>
            </td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">应用品牌：</td>
            <td align="left">
                <c:if test="${null != requestScope.xboxLog.appBrand}">
                    ${requestScope.xboxLog.appBrand}
                </c:if>
            </td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">应用平台：</td>
            <td align="left">${requestScope.xboxLog.client}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">客户端IP：</td>
            <td align="left">${requestScope.xboxLog.ip}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">请求耗时：</td>
            <td align="left">${requestScope.xboxLog.duration /1000} 秒</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">开始时间：</td>
            <td align="left">${requestScope.createDate}</td>
        </tr>
        <tr>
            <td width="25%" align="right" height="25">结束时间：</td>
            <td align="left">${requestScope.updateDate}</td>
        </tr>
    </table>
</div>
